$Color: red;

@mixin myMinx($size, $color) {
    font-size: $size;
    color: $color;
    font-weight: bolder;

}
/*封装*/

.div1 {
    width: 190px + 10px;
    height: 200px;
    background-color: aqua;

    .div2 {
        width: 100px;
        height: 100px;
        background-color: $Color;

        .div3 {
            width: 80px;
            height: 80px;
            background-color: blue ;

            .div4 {
                width: 50px;
                height: 50px;
                background-color: green;
                @include myMinx(200px, red)
            }
        }
    }

}